﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using Model;
using Control;

namespace WCF
{
    public class CinemaHallService : ICinemaHallService
    {
        CinemaHallController cinHallCtr;

        public CinemaHallService()
        {
            cinHallCtr = new CinemaHallController();
        }

        public List<CinemaHall> FindAllCinemaHalls()
        {

            return cinHallCtr.FindAllCinemaHalls();
        }

        public CinemaHall FindCinemaHall(string cName)
        {
            return cinHallCtr.FindCinemaHall(cName);
        }

    }
}
